package com.fernfx.xingtan.my.contract;

import com.fernfx.xingtan.common.base.BaseModel;
import com.fernfx.xingtan.common.base.BasePresenter;
import com.fernfx.xingtan.common.base.BaseView;
import com.fernfx.xingtan.common.network.IRequestCallback;
import com.fernfx.xingtan.my.entity.DiamondsHistroyInfoEntity;
import com.fernfx.xingtan.my.entity.MyDiamondsEntity;

import java.util.Map;

/**
 * Created by admin on 2018/8/16.
 * 钻石
 */

public interface MyDiamondsContract {
    interface View extends BaseView {
        void showDiamondsInfo(MyDiamondsEntity myDiamondsEntity);

        void loadDiamondList(int pageNo,int pageSize);
        //显示钻石交易记录
        void showDiamondHistoryInfo(DiamondsHistroyInfoEntity diamondsHistroyInfoEntity);
    }

    interface Presenter extends BasePresenter{
        void getDiamondTotalAmount(Map<String,Object> requestArgsMap);
    }

    interface Model extends BaseModel{
        void getDiamondTotalAmount(Map<String,Object> requestArgsMap, IRequestCallback iRequestCallback);
    }

}
